package com.zkyc.framework.common.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author bing.bai
 * @create 2022/6/14
 */
@TableName("system_file_ref_content")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FileRefContent {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer contentId;

    private Long fileId;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date gmtCreated;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date gmtUpdated;

}
